package com.wutong.eams.exception;

public class DatabaseException extends RuntimeException {
    public DatabaseException(String message) {
        super(message);
    }

    public static class InsertException extends DatabaseException {
        public InsertException(String message) {
            super(message);
        }
    }

    public static class UpdateException extends DatabaseException {
        public UpdateException(String message) {
            super(message);
        }
    }

    public static class QueryException extends DatabaseException {
        public QueryException(String message) {
            super(message);
        }
    }

    public static class DeleteException extends DatabaseException {
        public DeleteException(String message) {
            super(message);
        }
    }
}
